package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.IdentityInfoDao;
import com.fsj.admin.system.domain.IdentityInfoDO;
import com.fsj.admin.system.service.IdentityInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class IdentityInfoServiceImpl implements IdentityInfoService {
	@Autowired
	private IdentityInfoDao identityInfoDao;
	
	@Override
	public IdentityInfoDO get(Long id){
		return identityInfoDao.get(id);
	}
	
	@Override
	public List<IdentityInfoDO> list(Map<String, Object> map){
		return identityInfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return identityInfoDao.count(map);
	}
	
	@Override
	public int save(IdentityInfoDO identityInfo){
		return identityInfoDao.save(identityInfo);
	}
	
	@Override
	public int update(IdentityInfoDO identityInfo){
		return identityInfoDao.update(identityInfo);
	}
	
	@Override
	public int remove(Long id){
		return identityInfoDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return identityInfoDao.batchRemove(ids);
	}
	
}
